<gm:page title="Task List" authenticate="true">  

   <table width="100%">
    <tr>
      <td width="50%">
        <gm:list id="Projects" data="${app}/Projects" template="simpleProjects"/>
      </td>
      <td width="50%">
        <gm:list id="tasks" data="${Projects}/tasks" template="simpleTasks">
          <gm:handleEvent src="Projects"/>
        </gm:list>
      </td>
    </tr>
  </table>

  <gm:template id="simpleProjects">
    <div repeat="true">
      <gm:text ref="atom:title"/>
      <gm:editButtons/>
    </div>
    <gm:create label="New Project"/>
  </gm:template>

  <gm:template id="simpleTasks">
    <table width="100%">
      <tr repeat="true">
        <td><gm:text ref="atom:title"/></td>
        <td><gm:date ref="gd:when/@startTime"/></td>
        <td><gm:editButtons deleteOnly="true"/></td>
      </tr>
    </table>
    <gm:create label="new task"/>
  </gm:template>
  
<gm:page title="Mashup">  
  <div style="float: left; width: 50%">
    <gm:list id="CAParks" data="http://www.mapnut.com/calstatepark.xml" pagesize="25"/>
  </div>

  <div style="float: left; width: 50%">

    <gm:map id="CAParkMarkers" data="${CAParks}" latref="geo:lat" lngref="geo:long">
      <gm:handleEvent src="CAParks"/>
    </gm:map>

  </div>

 

</gm:page>